import request  from '@/utils/request'

const api = {
    login: '/api/login',
    userNav: '/api/userNav',
}
export function login(params) {
    return request({
        url: api.login,
        method: 'post',
        data: params
    })
}
export function userNav(params) {
    return request({
        url: api.userNav,
        method: 'post',
        data: params
    })
}
export default api
